package io.renren.modules.business.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.Query;

import io.renren.modules.business.dao.QualHonorDao;
import io.renren.modules.business.entity.QualHonorEntity;
import io.renren.modules.business.service.QualHonorService;


@Service("qualHonorService")
public class QualHonorServiceImpl extends ServiceImpl<QualHonorDao, QualHonorEntity> implements QualHonorService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<QualHonorEntity> page = this.page(
                new Query<QualHonorEntity>().getPage(params),
                new QueryWrapper<QualHonorEntity>()
        );

        return new PageUtils(page);
    }

}
